﻿using System;
using System.Runtime.Remoting.Channels.Ipc;
using RemotingGuidance;

namespace TestConsoleServer
{
    public class Program
    {
        public static void Main(string[] args)
        {
            var url = string.Format("{0}:{1}", "localhost", 9090);
            var channel = new IpcChannel(url);
            Guidance.RegisterServer<TestServerGuidance>(channel);

            Console.WriteLine("Server started at ipc://{0}/", url);
            Console.ReadLine();
        }
    }
}
